#pragma once

#include "zakengine/zak.h"

using namespace zak;

#define INTRO_STAGE_NONE		0
#define INTRO_STAGE_FADEIN		1
#define INTRO_STAGE_WAIT		2
#define INTRO_STAGE_FADEOUT		3

#define WAIT_TIME				2000.0f
#define INTERVAL_TIME			5.0f

class Intro : public Sprite 
{
public:
	bool Initialize();

	int	 GetStage() { return m_iStage; }
	void SetState(int iStage) { m_iStage = iStage; }

	void Update(float dt);
	void Draw();

	Intro();
	~Intro();

private:
	int		m_iStage;
	DWORD	m_currentColor;
	float	m_fAccum;
};